package com.dycx.food.dto;

import com.dycx.common.dto.PageDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;


@EqualsAndHashCode(callSuper = true)
@Data
public class GoodsQueryDTO extends PageDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer id;

    /**
     * 分类ID
     */
    private Integer goodsClassId;

    /**
     * 品牌
     */
    private Integer brandId;

    /**
     * 品牌id集合
     */
    private List<Integer> brandIds;

    /**
     * 系列
     */
    private Integer designId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 是否上架
     */
    private Boolean isShelf;

    /**
     * 销量
     */
    private Integer sales;

    /**
     * 是否查询子商品
     */
    private Boolean isQueryChild;

    private Integer minStorage;

    private Integer maxStorage;

    /**
     * 规则值ids
     */
    private List<Integer> specValueIds;
}
